package com.muh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.muh.service")//使用feign面向接口编程，引入FeignClient接口所在的包路径
public class ConsumerServer9001Application {

	public static void main(String[] args) {
		SpringApplication.run(ConsumerServer9001Application.class, args);
	}

}
